<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>EasyTalk Administrator's Control Panel</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta content="H.Joeson" name="Copyright" />
		<link rel="stylesheet" href="<{$res}>/css/style.css" type="text/css" media="all" />
		<script src="<{$res}>/js/jquery.js" type="text/javascript"></script>
		<script src="<{$res}>/js/admin.js" type="text/javascript"></script>
	</head>
	<body>
		<div id="bodymain">
			<div class="title"></div>
			<div class="content">
				<h3>网站开关</h3>
				<form action='<{$url}>/doSwitchs' method="POST">
					<table class="table" style="margin:5px 0 20px 0;line-height:250%">
						<tr>
							<td width="150px">网站注册方式</td>
							<td width="330px">
							<input type="radio" name="regtype" value="1" <{if $info['regtype'] ==1}>checked<{/if}> > 正常注册&nbsp;&nbsp;&nbsp;
							<input type="radio" name="regtype" value="0" <{if $info['regtype'] ==0}>checked<{/if}> > 关闭注册
							</td>
							<td class="info">● 受到大量恶意注册时可关闭注册</td>
						</tr>
						<tr>
							<td>是否关闭网站</td>
							<td>
							<input type="radio" name="button" value="1" <{if $info['button'] ==1}>checked<{/if}> > 开启网站&nbsp;&nbsp;&nbsp;
							<input type="radio" name="button" value="0" <{if $info['button'] ==0}>checked<{/if}> > 关闭网站
							</td>
							<td class="info">● 关闭网站后用户将不能访问</td>
						</tr>
						<tr>
							<td>默认主页</td>
							<td>
							<input type="radio" name="indexpage" value="centre" <{if $info['indexpage'] =='centre'}>checked<{/if}> > 用户主页&nbsp;&nbsp;&nbsp;
							<input type="radio" name="indexpage" value="plaza" <{if $info['indexpage'] =='plaza'}>checked<{/if}> > 广播大厅
							</td>
							<td class="info">● 选择默认进入用户主页还是广播大厅</td>
						</tr>
						<tr>
							<td>注册邮箱激活</td>
							<td>
							<input type="radio" name="regmail" value="1" <{if $info['regmail'] ==1}>checked<{/if}> > 开启&nbsp;&nbsp;&nbsp;
							<input type="radio" name="regmail" value="0" <{if $info['regmail'] ==0}>checked<{/if}> > 关闭
							</td>
							<td class="info">● 注册时是否需要激活邮箱才能进入</td>
						</tr>
					</table>
					<input type="submit" class="button1 submit" value="保存提交">
				</form>
			</div>
		</div>
	</body>
</html>